package com.molamil.outboard {
	import flash.events.Event;

	/**
	 * @author martindyrby
	 */
	public class ProgramChangeMidiEventEntry extends MidiEventEntry {
		public function ProgramChangeMidiEventEntry() {
			super();
		}
		
		override protected function listener(event : Event) : void {
			if(MidiEvent(event).typeId == typeId && MidiEvent(event).channel == channel) {
				recordingListener(callback, null);
				callback();
			}
		}
	}
}
